package org.dtrd.modules.system.entity.bean.qiyeweixin;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 企业微信反馈
 *
 * @author 萧
 * @date:2021-11-08 2:53 下午
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QwResponse {

    public static final int SUCCESS_CODE = 0;

    private int errcode;

    private String errmsg;

    private Integer expires_in;

    public boolean isResponseSuccess() {
        return errcode == SUCCESS_CODE;
    }

}
